package com.xinyue.ext;

/**
 * 标签名称集
 */
public interface Label {
	//build-config.xml
	public static final String autoRoot_ = "autoRoot";
	public static final String tempRoot_ = "tempRoot";
	public static final String buildRoot_ = "buildRoot";
	public static final String sqlRoot_ = "sqlRoot";
	public static final String import_ = "import";
	public static final String locked_ = "locked";
	public static final String path_ = "path";
	public static final String userBase_ = "userBase";

	//mapping映射文件
	public static final String root_ = "build-mapping";
	public static final String bean_package_ = "bean-package";
	public static final String dao_package_ = "dao-package";
	public static final String entity_ = "entity";
	
	public static final String package_ = "package";
	
	//entity
	public static final String name_ = "name";
	public static final String table_ = "table";
	public static final String catalog_ = "catalog";
	public static final String id_ = "id";
	public static final String property_ = "property";
	public static final String one_ = "one";
	public static final String many_ = "many";
	public static final String finder_ = "finder";
	public static final String order_by_ = "order-by";
	
	//order
	public static final String order_column_ = "order-column";
	public static final String by_ = "by";
	
	//one many
	public static final String mapping_key_ = "mapping-key";
	
	//id property
	public static final String generatedValue_ = "generatedValue";
	public static final String value_ = "value";
	public static final String type_ = "type";
	public static final String desc_ = "desc";
	
	//JPA
	public static final String t_name_ = "t_name";
	public static final String length_ = "length";
	public static final String unique_ = "unique";
	public static final String nullable_ = "nullable";
	public static final String insertable_ = "insertable";
	public static final String updatable_ = "updatable";
	public static final String transient_ = "transient";
	public static final String columnDefinition_ = "columnDefinition";
	
	//query
	public static final String query_ = "query";
	public static final String returnType_ = "returnType";
	public static final String method_ = "method";
	public static final String query_column_ = "query-column";
	public static final String comparator_ = "comparator";
	//hql
	public static final String hql_ = "hql";
	public static final String query_param_ = "query-param";
	public static final String hql_state_ = "hql-state";
	//sql
	public static final String sql_ = "sql";
	public static final String paramType_ = "paramType";
	public static final String dto_ = "dto";
	public static final String sql_state_ = "sql-state";
	public static final String isNotNull_ = "isNotNull";
	public static final String key_ = "key";
}
